package com.fish.admin.module.auth.service;

import com.fish.admin.module.auth.domain.dto.AuthInfoPageQueryDTO;
import com.fish.admin.module.auth.domain.vo.AuthInfoVO;
import com.fish.common.core.base.AuthenticationRequest;
import com.fish.common.core.base.AuthenticationResponse;
import com.fish.common.core.domain.vo.PageVO;
import com.fish.common.core.enums.EnabledEnum;
import com.fish.common.core.enums.UserTypeEnum;

public interface AuthInfoService {


     AuthenticationResponse login(AuthenticationRequest authentication, UserTypeEnum userType);


    PageVO<AuthInfoVO> page(AuthInfoPageQueryDTO authInfoPageQueryDTO);

    void changeEnabled(Long id, EnabledEnum enabled);
}
